package com.donn.securitycontrolplatform.dutyinfo.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.donn.securitycontrolplatform.common.Result;
import com.donn.securitycontrolplatform.dutyinfo.entity.Dutyinfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-19
 */
public interface IDutyinfoService extends IService<Dutyinfo> {

    Result add(Dutyinfo dutyinfo);

    Result updateDutyinfo(Dutyinfo dutyinfo);

    Result deleteById(Integer id);

    Result getPage(Page<Dutyinfo> page);

    List<String> getTagByDutyinfo(String name);
}
